package com.yingpai.fitness.entity;

import java.io.Serializable;

/**
 * Created by ASUS on 2018/5/28.
 */

public class InfomationBean implements Serializable {


    /**
     * result : success
     * msg : 查询成功
     * map : {"customerInfo":{"id":1,"isMemeber":true,"photoUrl":"http://47.92.82.83:8081/customerPhoto/36e5b898-7eec-43ed-a20e-80d6f182051etooopen_sy_201956178977.jpg","inviteCode":null,"nickName":"无聊","weight":123.45,"height":123.45,"chestMeasurement":123.45,"waistline":123.45,"hipline":123.45,"profession":"informations","birthday":"2018-01-20 00:00","bodyShape":"瘦子","sex":"男"}}
     */

    private String result;
    private String msg;
    private MapData map;

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public MapData getMap() {
        return map;
    }

    public void setMap(MapData map) {
        this.map = map;
    }

    public static class MapData implements Serializable{
        /**
         * customerInfo : {"id":1,"isMemeber":true,"photoUrl":"http://47.92.82.83:8081/customerPhoto/36e5b898-7eec-43ed-a20e-80d6f182051etooopen_sy_201956178977.jpg","inviteCode":null,"nickName":"无聊","weight":123.45,"height":123.45,"chestMeasurement":123.45,"waistline":123.45,"hipline":123.45,"profession":"informations","birthday":"2018-01-20 00:00","bodyShape":"瘦子","sex":"男"}
         */

        private CustomerInfoData customerInfo;

        public CustomerInfoData getCustomerInfo() {
            return customerInfo;
        }

        public void setCustomerInfo(CustomerInfoData customerInfo) {
            this.customerInfo = customerInfo;
        }

        public static class CustomerInfoData implements Serializable{
            /**
             * id : 1
             * isMemeber : true
             * photoUrl : http://47.92.82.83:8081/customerPhoto/36e5b898-7eec-43ed-a20e-80d6f182051etooopen_sy_201956178977.jpg
             * inviteCode : null
             * nickName : 无聊
             * weight : 123.45
             * height : 123.45
             * chestMeasurement : 123.45
             * waistline : 123.45
             * hipline : 123.45
             * profession : informations
             * birthday : 2018-01-20 00:00
             * bodyShape : 瘦子
             * sex : 男
             */

            private int id;
            private boolean isMemeber;
            private String photoUrl;
            private Object inviteCode;
            private String nickName;
            private double weight;
            private double height;
            private double chestMeasurement;
            private double waistline;
            private double hipline;
            private String profession;
            private String birthday;
            private String bodyShape;
            private String sex;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public boolean isIsMemeber() {
                return isMemeber;
            }

            public void setIsMemeber(boolean isMemeber) {
                this.isMemeber = isMemeber;
            }

            public String getPhotoUrl() {
                return photoUrl;
            }

            public void setPhotoUrl(String photoUrl) {
                this.photoUrl = photoUrl;
            }

            public Object getInviteCode() {
                return inviteCode;
            }

            public void setInviteCode(Object inviteCode) {
                this.inviteCode = inviteCode;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public double getWeight() {
                return weight;
            }

            public void setWeight(double weight) {
                this.weight = weight;
            }

            public double getHeight() {
                return height;
            }

            public void setHeight(double height) {
                this.height = height;
            }

            public double getChestMeasurement() {
                return chestMeasurement;
            }

            public void setChestMeasurement(double chestMeasurement) {
                this.chestMeasurement = chestMeasurement;
            }

            public double getWaistline() {
                return waistline;
            }

            public void setWaistline(double waistline) {
                this.waistline = waistline;
            }

            public double getHipline() {
                return hipline;
            }

            public void setHipline(double hipline) {
                this.hipline = hipline;
            }

            public String getProfession() {
                return profession;
            }

            public void setProfession(String profession) {
                this.profession = profession;
            }

            public String getBirthday() {
                return birthday;
            }

            public void setBirthday(String birthday) {
                this.birthday = birthday;
            }

            public String getBodyShape() {
                return bodyShape;
            }

            public void setBodyShape(String bodyShape) {
                this.bodyShape = bodyShape;
            }

            public String getSex() {
                return sex;
            }

            public void setSex(String sex) {
                this.sex = sex;
            }
        }
    }
}
